package com.hzy.oms.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 订单中所包含的商品视图对象 oms_order_item
 *
 * @author zengxin
 * @date 2023-10-18
 */
@Data
@ExcelIgnoreUnannotated
public class OrderItemVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 订单id
     */
    @ExcelProperty(value = "订单id")
    private Long orderId;

    /**
     * 产品id
     */
    @ExcelProperty(value = "产品id")
    private Long productId;

    /**
     * 商品编码
     */
    @ExcelProperty(value = "商品编码")
    private String outProductId;

    /**
     * 商品sku id
     */
    @ExcelProperty(value = "商品sku id")
    private Long skuId;

    /**
     * sku编码
     */
    @ExcelProperty(value = "sku编码")
    private String outSkuId;

    /**
     * 商品快照id
     */
    @ExcelProperty(value = "商品快照id")
    private Long productSnapshotId;

    /**
     * sku快照id
     */
    @ExcelProperty(value = "sku快照id")
    private Long skuSnapshotId;

    /**
     * 展示图片
     */
    @ExcelProperty(value = "展示图片")
    private String pic;

    /**
     * 产品名称
     */
    @ExcelProperty(value = "产品名称")
    private String productName;

    /**
     * 销售价格
     */
    @ExcelProperty(value = "销售价格")
    private BigDecimal salePrice;

    /**
     * 采购价
     */
    @ExcelProperty(value = "采购价")
    private BigDecimal purchasePrice;

    /**
     * 购买数量
     */
    @ExcelProperty(value = "购买数量")
    private Integer quantity;

    /**
     * 商品分类id
     */
    @ExcelProperty(value = "商品分类id")
    private Long productCategoryId;

    /**
     * 商品sku属性
     */
    @ExcelProperty(value = "商品sku属性")
    private String spData;


}
